package com.jrx.anytxn.transaction.dto.payment;

import com.jrx.anytxn.transaction.dto.common.CommonRes;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 还款记录响应参数
 *
 * @Author liuzb
 * @Date 12:39 上午 星期四 2023/03/09
 **/
public class LoanRepaymentQueryRes extends CommonRes implements Serializable {


    /**
     * 每页条数
     */
    @ApiModelProperty(value = "每页条数", required = true)
    private Integer pageSize;
    /**
     * 第几页
     */
    @ApiModelProperty(value = "第几页", required = true)
    private Integer pageNum;
    /**
     * 已还本金汇总
     */
    @ApiModelProperty(value = "已还本金")
    private BigDecimal paidPrincipalAmountSum;

    /**
     * 已还利息汇总
     */
    @ApiModelProperty(value = "已还利息")
    private BigDecimal paidInterestAmountSum;

    /**
     * 已还罚息/费汇总
     */
    @ApiModelProperty(value = "已还罚息/费")
    private BigDecimal paidPenaltyAmountSum;

    /**
     * 还款记录
     */
    @ApiModelProperty(value = "还款记录")
    List<LoanRepaymentVo> loanRepayments;


    /**
     * 获取 已还本金汇总
     *
     * @return paidPrincipalAmountSum 已还本金汇总
     */
    public BigDecimal getPaidPrincipalAmountSum() {
        return this.paidPrincipalAmountSum;
    }

    /**
     * 设置 已还本金汇总
     *
     * @param paidPrincipalAmountSum 已还本金汇总
     */
    public void setPaidPrincipalAmountSum(BigDecimal paidPrincipalAmountSum) {
        this.paidPrincipalAmountSum = paidPrincipalAmountSum;
    }

    /**
     * 获取 已还利息汇总
     *
     * @return paidInterestAmountSum 已还利息汇总
     */
    public BigDecimal getPaidInterestAmountSum() {
        return this.paidInterestAmountSum;
    }

    /**
     * 设置 已还利息汇总
     *
     * @param paidInterestAmountSum 已还利息汇总
     */
    public void setPaidInterestAmountSum(BigDecimal paidInterestAmountSum) {
        this.paidInterestAmountSum = paidInterestAmountSum;
    }

    /**
     * 获取 已还罚息费汇总
     *
     * @return paidPenaltyAmountSum 已还罚息费汇总
     */
    public BigDecimal getPaidPenaltyAmountSum() {
        return this.paidPenaltyAmountSum;
    }

    /**
     * 设置 已还罚息费汇总
     *
     * @param paidPenaltyAmountSum 已还罚息费汇总
     */
    public void setPaidPenaltyAmountSum(BigDecimal paidPenaltyAmountSum) {
        this.paidPenaltyAmountSum = paidPenaltyAmountSum;
    }

    /**
     * 获取 还款记录
     *
     * @return loanRepayments 还款记录
     */
    public List<LoanRepaymentVo> getLoanRepayments() {
        return this.loanRepayments;
    }

    /**
     * 设置 还款记录
     *
     * @param loanRepayments 还款记录
     */
    public void setLoanRepayments(List<LoanRepaymentVo> loanRepayments) {
        this.loanRepayments = loanRepayments;
    }

    /**
     * 获取 每页条数
     *
     * @return pageSize 每页条数
     */
    public Integer getPageSize() {
        return this.pageSize;
    }

    /**
     * 设置 每页条数
     *
     * @param pageSize 每页条数
     */
    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    /**
     * 获取 第几页
     *
     * @return pageNum 第几页
     */
    public Integer getPageNum() {
        return this.pageNum;
    }

    /**
     * 设置 第几页
     *
     * @param pageNum 第几页
     */
    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }
}
